package models;

import java.util.LinkedList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity
public class FruitSalad extends Salad {

	private static List<IngredientCategory> ingredientCategories;

	public FruitSalad(String name){
		super();
		this.name = name;
		ingredientCategories = new LinkedList<IngredientCategory>();
		ingredientCategories.add(IngredientCategory.FRUIT);
		ingredientCategories.add(IngredientCategory.TOPPING);
		create();
	}

	@Override
	public List<IngredientCategory> getIngredientCategories() {
		return ingredientCategories;
	}

}
